package events

type Event struct {
	EventBase[uintptr, func()]
	//eventChan chan int
}

func NewEvent() *Event {
	return &Event{}
}
func (_this *Event) Event() {
	cal := func(eventParam *func()) {
		(*eventParam)()
	}
	_this.EventBase.event(&cal)
}
